package org.world.domain.aggregate.sheep.event;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.mc.ddd.event.BaseDomainEvent;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SheepGaveBirthEvent extends BaseDomainEvent {
    private Long babySheepId;

    private Long motherSheepId;

    private LocalDateTime gaveBirth;
}
